(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <exec/lists.h>
#include <proto/exec.h>
struct Node * FindName()
SYNOPSIS
struct List * list
UBYTE * name

LOCATION
In SysBase at offset 46
FUNCTION
Look for a node with a certain name in a list.

INPUTS
list
Search this list.
name
This is the name to look for.
RESULT
NOTES
The search is case-sensitive, so "Hello" will not find a node named "hello".

The list must contain complete Nodes and no MinNodes.

EXAMPLE
struct List * list;
struct Node * node;

// Look for a node with the name "Hello"
node = FindName (list, "Hello");

BUGS
SEE ALSO
INTERNALS
HISTORY
12.05.1997 aros
Fixed all headers
30.04.1997 aros
Optimized header files

Polish

28.02.1997 ldp
Check if a node has a name, and only strcmp() if it has. Should fix streams of Enforcer hits of bytereads from 0. I didn't get them, but I got hitlogs of 35kB, so they sure were there. :)
01.01.1997 ldp
Committed Amiga native (support) code

Changed clib to proto

10.12.1996 aros
Moved all #include's in the first column so makedepend can see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
21.10.1996 aros
Changed struct SysBase to struct ExecBase
19.10.1996 aros
Use the ANSI C function
12.09.1996 digulla
Fixed a severe bug in the code. If nothing was found, the function returned the list-header instead of NULL
13.08.1996 digulla
Replaced __AROS_LA by __AROS_LHA Replaced some __AROS_LH*I by __AROS_LH* Sorted and added includes
01.08.1996 digulla
Added standard header for all files
01.08.1996 digulla
Added copyright notics and made headers conform
01.08.1996 digulla
Replaced hacks with commented versions
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS